package com.dongdongshop.mapper;

import com.dongdongshop.pojo.reward_points.TbRewardPoints;
import com.dongdongshop.pojo.reward_points.TbRewardPointsExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TbRewardPointsMapper {
    int countByExample(TbRewardPointsExample example);

    int deleteByExample(TbRewardPointsExample example);

    int deleteByPrimaryKey(String userId);

    int insert(TbRewardPoints record);

    int insertSelective(TbRewardPoints record);

    List<TbRewardPoints> selectByExample(TbRewardPointsExample example);

    TbRewardPoints selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") TbRewardPoints record, @Param("example") TbRewardPointsExample example);

    int updateByExample(@Param("record") TbRewardPoints record, @Param("example") TbRewardPointsExample example);

    int updateByPrimaryKeySelective(TbRewardPoints record);

    int updateByPrimaryKey(TbRewardPoints record);
}